package org.god.utils;

import java.io.InputStream;

public class Resources {
    /*从类路径获取配置文件的输入流*/
    public static InputStream getResourceAsStream(String configPath) throws Exception{
       return ClassLoader.getSystemClassLoader().getResourceAsStream( configPath);
    }
}
